/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.scm.hibernate.entities;

import com.scm.hibernate.entities.AbstractEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author unnati
 */
@Table(name = "tests")
@Entity
public class Test extends AbstractEntity
{
    @GeneratedValue
    
    @Column(name="id")
    @Id
    protected  Long id;
    
    @Column(name="name")
    protected  String name;

    @Column(name = "duration")
    protected  String duration;
    
    @Column(name="tdate")
    protected  String tdate;
    
   @Column(name = "cutoffmarks")
   protected  int cutoffmarks;

    public int getCutoffmarks() {
        return cutoffmarks;
    }

    public void setCutoffmarks(int cutoffmarks) {
        this.cutoffmarks = cutoffmarks;
    }
    
    @Column(name="totalquestions")
    protected  int totalquestions;
    
    @Column(name = "positivemarking")
    protected  float  positivemarking;
    
    @Column(name="negativemarking")
    protected float  negativemarking;
    
    @Column(name = "ttime")
    protected  String ttime;
    
    @Column(name = "description")
    protected  String description;
    
    @Column(name = "eid")
    protected  Long eid;
    
    @Column(name = "subid")
    protected Long subid;
    
    @Column(name = "addedby")
    protected  Long addedby;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getTdate() {
        return tdate;
    }

    public void setTdate(String tdate) {
        this.tdate = tdate;
    }

  

    public int getTotalquestions() {
        return totalquestions;
    }

    public void setTotalquestions(int totalquestions) {
        this.totalquestions = totalquestions;
    }

    public float getPositivemarking() {
        return positivemarking;
    }

    public void setPositivemarking(float positivemarking) {
        this.positivemarking = positivemarking;
    }

    public float getNegativemarking() {
        return negativemarking;
    }

    public void setNegativemarking(float negativemarking) {
        this.negativemarking = negativemarking;
    }

    public String getTtime() {
        return ttime;
    }

    public void setTtime(String ttime) {
        this.ttime = ttime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getEid() {
     return eid;
    }

    public void setEid(Long eid) {
        this.eid = eid;
    }

    public Long getSubid() {
        return subid;
    }

    public void setSubid(Long subid) {
        this.subid = subid;
    }

    public Long getAddedby() {
        return addedby;
    }

    public void setAddedby(Long addedby) {
        this.addedby = addedby;
    }
  
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    
}
